<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Calculates the match score between two fuzzy hash signatures</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ssdeep-fuzzy-compare" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ssdeep_fuzzy_compare</h1>
  <p class="verinfo">(PECL ssdeep &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ssdeep_fuzzy_compare</span> &mdash; <span class="dc-title">Calculates the match score between two fuzzy hash signatures</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssdeep-fuzzy-compare-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ssdeep_fuzzy_compare</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$signature1</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$signature2</code></span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Calculates the match score between <code class="parameter">signature1</code>
   and <code class="parameter">signature2</code> using <a href="http://dfrws.org/2006/proceedings/12-Kornblum.pdf" class="link external">&raquo;&nbsp;
   context-triggered piecewise hashing</a>, and returns the match
   score.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssdeep-fuzzy-compare-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">signature1</code></dt>

    <dd>

     <p class="para">
      The first fuzzy hash signature string.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">signature2</code></dt>

    <dd>

     <p class="para">
      The second fuzzy hash signature string.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ssdeep-fuzzy-compare-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an integer from 0 to 100 on success, <strong><code>FALSE</code></strong> otherwise. 
  </p>
 </div>



</div></div></div></body></html>